package org.example.MedicalCrowdsourcing.model.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.time.LocalDateTime;

/**
 * 项目数据传输对象
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class ProjectDataDTO {
    private Long id;
    
    @NotNull(message = "项目ID不能为空")
    private Long projectId;
    
    private String projectTitle;
    
    @NotNull(message = "参与者ID不能为空")
    private Long participantId;
    
    private String participantName;
    
    @NotBlank(message = "数据内容不能为空")
    private String dataContent;
    
    @NotBlank(message = "数据类型不能为空")
    private String dataType;
    
    private String status;
    
    private LocalDateTime submissionDate;
    
    private LocalDateTime reviewDate;
    
    private String reviewComments;
} 